//
//  ConnectModel.h
//  DouBanDemo
//
//  Created by LiuFei on 14/11/7.
//  Copyright (c) 2014年 LiuFei. All rights reserved.
//

#import <Foundation/Foundation.h>

// 热门景点
#define AreaUrl @"http://api.breadtrip.com/trips/2388056193/waypoints/"
// 小贴士
#define TipsUrl @"http://api.breadtrip.com/destination/place/3/205/tips/"



typedef void(^FinishedBlock)(NSData *data);

@interface ConnectModel : NSObject<NSURLConnectionDataDelegate>

// 定义receiveData
@property (retain, nonatomic) NSMutableData *receiveData;

// 文件名
@property (copy, nonatomic) NSString *urlName;


@property (copy, nonatomic) FinishedBlock fblock;

+ (void)getConnectGetWithUrl:(NSString *)urlStr parms:(NSMutableDictionary *)parms block:(FinishedBlock)block;

@end
